<template>
	<div>
		<button @click="increas" style="border:1px solid red;">increas</button>
	</div>
</template>

<script>
	let sum = 0;
	export default {
		name: "vmodel",
		props: {
			value: {
				type: Number,
				default: 0
			}
		},
		prop: {
			msg: ''
		},
		methods: {
			increas() {
				this.$emit('input', ++sum);
				console.log('value1', this.value)
			}
		}
	}
</script>

<style>

</style>